package khm24980.basic;

public class J01_Department {

	public static void main(String[] args) {
		//1. 변수 선언 및 초기화
		String DtName;
		String DtTel;
		String DtLoc;
		String DtChief;
		String DtName2;
		String DtTel2;
		String DtLoc2;
		String DtChief2;
		String DtName3;
		String DtTel3;
		String DtLoc3;
		String DtChief3;
		String DtName4;
		String DtTel4;
		String DtLoc4;
		String DtChief4;
		
		DtName = "컴퓨터공학";
		DtTel = "123-4567-8901";
		DtLoc = "E동 2층";
		DtChief = "504";
		
		DtName2 = "의상디자인";
		DtTel2 = "234-5678-9012";
		DtLoc2 = "A동 1층";
		DtChief2 = "301";
		
		DtName3 = "식품영양";
		DtTel3 = "345-6789-0123";
		DtLoc3 = "F동 8층";
		DtChief3 = "556";
		
		DtName4 = "철학";
		DtTel4 = "456-7890-1234";
		DtLoc4 = "Z동 25층";
		DtChief4 = "504";
		
		//3. 결과 출력
		System.out.println("학과명\t전화번호\t\t사무실위치\t학과장");
		System.out.println("-------------------------------------");
		System.out.print(DtName);
		System.out.print("\t"+DtTel);
		System.out.print("\t"+DtLoc);
		System.out.println("\t"+DtChief);
		System.out.println("-------------------------------------");
		System.out.print(DtName2);
		System.out.print("\t"+DtTel2);
		System.out.print("\t"+DtLoc2);
		System.out.println("\t"+DtChief2);
		System.out.println("-------------------------------------");
		System.out.print(DtName3);
		System.out.print("\t"+DtTel3);
		System.out.print("\t"+DtLoc3);
		System.out.println("\t"+DtChief3);
		System.out.println("-------------------------------------");
		System.out.print(DtName4);
		System.out.print("\t"+DtTel4);
		System.out.print("\t"+DtLoc4);
		System.out.println("\t"+DtChief4);

	}

}
